﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace BabySmash7.Shapes
{
    public partial class CoolLetter : UserControl
    {
        public CoolLetter()
        {
            InitializeComponent();
        }

        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            myStoryboard.Begin();
        }

        public CoolLetter(string text, Color color)  
            : this()
        {
            label1.Text = text;
            label2.Text = text;
            stop.Color = color;
        }
    }
}
